﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopTaohuaAudioReaderAlbum")]
    public class TaohuaAudioReaderAlbum : BaseObject
    {
        //begin
        public TaohuaAudioReaderAlbum()
        {}
        public TaohuaAudioReaderAlbum(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _ItemId;
        public string ItemId
        {
            get
            {
                return _ItemId;
            }
            set
            {
                SetPropertyValue("ItemId", ref _ItemId, value);
            }
        }
        private string _PicUrl;
        public string PicUrl
        {
            get
            {
                return _PicUrl;
            }
            set
            {
                SetPropertyValue("PicUrl", ref _PicUrl, value);
            }
        }
        private string _Title;
        public string Title
        {
            get
            {
                return _Title;
            }
            set
            {
                SetPropertyValue("Title", ref _Title, value);
            }
        }
        private string _Copyright;
        public string Copyright
        {
            get
            {
                return _Copyright;
            }
            set
            {
                SetPropertyValue("Copyright", ref _Copyright, value);
            }
        }
        private string _LastUpdated;
        public string LastUpdated
        {
            get
            {
                return _LastUpdated;
            }
            set
            {
                SetPropertyValue("LastUpdated", ref _LastUpdated, value);
            }
        }
        private decimal _Price;
        public decimal Price
        {
            get
            {
                return _Price;
            }
            set
            {
                SetPropertyValue("Price", ref _Price, value);
            }
        }
        private string _Status;
        public string Status
        {
            get
            {
                return _Status;
            }
            set
            {
                SetPropertyValue("Status", ref _Status, value);
            }
        }
        private string _Description;
        [Size(SizeAttribute.Unlimited)]
        public string Description
        {
            get
            {
                return _Description;
            }
            set
            {
                SetPropertyValue("Description", ref _Description, value);
            }
        }
        private string _ArtistName;
        public string ArtistName
        {
            get
            {
                return _ArtistName;
            }
            set
            {
                SetPropertyValue("ArtistName", ref _ArtistName, value);
            }
        }
        private string _Format;
        public string Format
        {
            get
            {
                return _Format;
            }
            set
            {
                SetPropertyValue("Format", ref _Format, value);
            }
        }
        private string _BitRate;
        public string BitRate
        {
            get
            {
                return _BitRate;
            }
            set
            {
                SetPropertyValue("BitRate", ref _BitRate, value);
            }
        }
        private string _Duration;
        public string Duration
        {
            get
            {
                return _Duration;
            }
            set
            {
                SetPropertyValue("Duration", ref _Duration, value);
            }
        }
        private long _TrackCount;
        public long TrackCount
        {
            get
            {
                return _TrackCount;
            }
            set
            {
                SetPropertyValue("TrackCount", ref _TrackCount, value);
            }
        }
        //end
    }
}
